package com.yunqing.restkeeper.store.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName Staff
 * @Description 员工信息
 * @author: puyunqing
 * @Date: 2025/7/21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "t_staff")
@Schema(name = "TStaff对象", description = "员工信息")
public class Staff extends BaseStoreEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(name = "staffId", description = "员工id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String staffId;


    @Schema(name = "staffName", description = "员工姓名")
    private String staffName;

    @Schema(name = "password", description = "密码")
    private String password;

    @Schema(name = "phone", description = "手机号")
    private String phone;

    @Schema(name = "sex", description = "性别")
    private String sex;

    @Schema(name = "idNumber", description = "身份证号")
    private String idNumber;
}
